package 向上向下转型;

/**
 * @author Administrator
 * @ClassName Dog
 * @TIME 星期三 2020/12/23
 */
public class Dog extends Animal {
    @Override
    public void eat(){
        System.out.println("淦骨头淦骨头淦骨头淦骨头淦骨头");
    }

    public void swim(){
        System.out.println("淦洞淦洞淦洞淦洞淦洞淦洞淦洞");
    }
}
